package fundamentals;

public class OverridenMethods {

//	public static void book(short a) {
//		System.out.println("short " + a);
//	}

//	public static void book(Short a) {
//		System.out.print("Short ");
//	}

//	public static void book(int a) {
//		System.out.println("int " + a);
//	}
	
	public static void book(Integer a) {
		System.out.print("Integer ");
	}
	
//	public static void book(long a) {
//		System.out.println("long " + a);
//	}
//	
//	public static void book(Long a) {
//		System.out.print("Long " + a);
//	}
	
	public static void book(float a) {
		System.out.println("float " + a);
	}
	
	public static void book(double a) {
		System.out.println("double " + a);
	}

	public static void main(String[] args) {
//		book(Byte.MAX_VALUE);
//		book(Short.MAX_VALUE);
		book(Integer.MAX_VALUE);
//		book(Long.MAX_VALUE);
//		book(Float.MAX_VALUE);
//		book(new Long(55));
	}

}
